#ifndef TRANSFORMWIDGET_H
#define TRANSFORMWIDGET_H

#include <QWidget>
#include "Transform.h"

namespace Ui {
    class TransformWidget;
}
class Object;


class TransformWidget : public QWidget
{
    Q_OBJECT

public:
    explicit TransformWidget(QWidget *parent = 0);
    ~TransformWidget();

signals:
    void updated();

public slots:
    void setObject(Object *);

private slots:
    void translationChanged(double);
    void rotationChanged(double);
    void scaleChanged(double);

private:
    Ui::TransformWidget *ui;

    Object* m_object;
};

#endif // TRANSFORMWIDGET_H
